
import { defineStore } from 'pinia';

export const useDictStore = defineStore('dict', {
	state: () => {
		return { list: [] };
	},
	// 也可以这样定义
	// state: () => ({ list: 0 })
	actions: {
		increment(value) {
			this.list = value;
		},
	},
});